<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no, viewport-fit=cover">
<style>
    .box{
        width:375px;
        height:667px;
        margin:0 auto;
    }
    #jinianri{
        padding:5px;
    }
</style>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no, viewport-fit=cover">
</head>
<body>
<div class="box">
    <img src="images/logo11.png"/>
    <p>请输入你们的纪念日！</p><br />
    <input  name="jinianri" placeholder="纪念日" id="jinianri"/>&nbsp;
    <input type="button" name="score" value="go" onclick="f1()">&nbsp;
</div>
<script>
    function f1(){
        var y=jinianri.value;
        if(y=="4月28日"){
            document.location.href = "go.html";
        }else{
            alert("哼，这也能输错！")
        }
    }
</script>
</body>
</html>